package ccm.component.override;

import ccm.common.CCMConfigManager;

import javax.swing.*;

public class JCheckBox extends javax.swing.JCheckBox
{
    public JCheckBox()
    {
        setFont(CCMConfigManager.getFont("ccm/general/font"));

    }

    public JCheckBox(Icon icon)
    {
        super(icon);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JCheckBox(Icon icon,boolean selected)
    {
        super(icon,selected);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JCheckBox(String text)
    {
        super(text);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JCheckBox(Action a)
    {
        super(a);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JCheckBox(String text,boolean selected)
    {
        super(text,selected);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JCheckBox(String text,Icon icon)
    {
        super(text,icon);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JCheckBox(String text,Icon icon,boolean selected)
    {
        super(text,icon,selected);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }
}
